﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Dto
{
    /// <summary>
    /// 
    /// </summary>
    public class UserDto
    {
        /// <summary>
        /// Desc:用户唯一标识，UUID格式
        /// Default:
        /// Nullable:False
        /// </summary>
        [Description("用户唯一标识，UUID格式")]
        public string id { get; set; } = null!;

        /// <summary>
        /// Desc:登录用户名，唯一
        /// Default:
        /// Nullable:False
        /// </summary>
        [Description("登录用户名，唯一")]
        public string username { get; set; } = null!;

        /// <summary>
        /// Desc:加密后的密码
        /// Default:
        /// Nullable:False
        /// </summary>
        [Description("加密后的密码")]
        public string password { get; set; } = null!;

        /// <summary>
        /// Desc:状态：0-禁用，1-启用
        /// Default:1
        /// Nullable:False
        /// </summary>
        [Description("状态：0-禁用，1-启用")]
        public string status { get; set; } = null!;

        /// <summary>
        /// Desc:真实姓名
        /// Default:
        /// Nullable:False
        /// </summary>
        [Description("真实姓名")]
        public string realName { get; set; } = null!;

        /// <summary>
        /// Desc:身份证号码
        /// Default:
        /// Nullable:True
        /// </summary>
        [Description("身份证号码")]
        public string? idCardNo { get; set; }

        /// <summary>
        /// Desc:手机号码
        /// Default:
        /// Nullable:False
        /// </summary>
        [Description("手机号码")]
        public string mobile { get; set; } = null!;

        /// <summary>
        /// Desc:电子邮箱
        /// Default:
        /// Nullable:True
        /// </summary>
        [Description("电子邮箱")]
        public string? email { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>
        [Description("创建时间")]
        public DateTime createTime { get; set; }

        /// <summary>
        /// Desc:创建人ID
        /// Default:
        /// Nullable:True
        /// </summary>
        [Description("创建人ID")]
        public string? createUser { get; set; }

        /// <summary>
        /// Desc:更新时间
        /// Default:
        /// Nullable:True
        /// </summary>
        [Description("更新时间")]
        public DateTime? updateTime { get; set; }

        /// <summary>
        /// Desc:更新人ID
        /// Default:
        /// Nullable:True
        /// </summary>
        [Description("更新人ID")]
        public string? updateUser { get; set; }

        /// <summary>
        /// Desc:备注信息
        /// Default:
        /// Nullable:True
        /// </summary>
        [Description("备注信息")]
        public string? remark { get; set; }
    }
}
